package cn.jiyun.feign;

import cn.jiyun.pojoday07.Labels;
import cn.jiyun.pojoday10.TopicEmp;
import cn.jiyun.pojoday10.TopicVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: 小周
 * @Package: cn.jiyun.feign
 * @Project: 2210A-project1
 * @name: TestService
 * @Date: 2023/8/23 19:34
 * @Filename: TestService
 */
@FeignClient(value = "day10topic")
public interface TestService6 {


    @RequestMapping("/topic/toTopInfo")
    TopicVO toTopInfo(@RequestParam("tid") String tid);
    @RequestMapping("/topic/addZwners")
    int addZwners(@RequestBody TopicEmp topicEmp);
    @RequestMapping("/topic/findAwners")
    TopicEmp findAwners(@RequestBody TopicEmp topicEmp);
}
